<?php
phpinfo();

die;

$handle = curl_init();
$url="http://58.247.250.76:3390/WebAPIJson/api/Home?flag=M&cus_no=MSC&cc=40&xx=HC&qty=2&cz_no=01&yy_no=YY76200004&td_no=h&ship_no=ggg&ovoy=vb&tx_dd=".urlencode("2017-06-20 17:15")."&rem=vb&plate_no=A13&tel=18753224697&usr=admin";
curl_setopt($handle, CURLOPT_URL,$url);

curl_setopt($handle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($handle, CURLOPT_HEADER, 0);
curl_setopt($handle, CURLOPT_USERAGENT, 'Mozilla/5.0 (compatible; MSIE 5.01; Windows NT 5.0)');
curl_setopt($handle, CURLOPT_TIMEOUT, 15);
$v = curl_exec($handle);
curl_close($handle);

$v=json_decode($v,true);
if($v){
	var_dump($v);
}

var_dump($v['ClientRut'][0][0]);

